/* 微信公众号风格的Markdown主题 */
.markdown-body.wechat {
  font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 740px;
  margin: 0 auto;
  word-wrap: break-word;
  letter-spacing: 0.034em;
}

.markdown-body.wechat h1,
.markdown-body.wechat h2,
.markdown-body.wechat h3,
.markdown-body.wechat h4,
.markdown-body.wechat h5,
.markdown-body.wechat h6 {
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 1em;
  color: #1f2329;
}

.markdown-body.wechat h1 {
  font-size: 1.8em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.5em;
}

.markdown-body.wechat h2 {
  font-size: 1.5em;
  line-height: 1.225;
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.markdown-body.wechat h3 {
  font-size: 1.3em;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.markdown-body.wechat h4 {
  font-size: 1.1em;
}

.markdown-body.wechat p {
  margin-bottom: 1.2em;
  font-size: 1em;
}

.markdown-body.wechat a {
  color: #576b95;
  text-decoration: none;
  border-bottom: 1px solid #576b95;
}

.markdown-body.wechat a:hover {
  color: #07c160;
  border-bottom: 1px solid #07c160;
}

.markdown-body.wechat blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  color: #666;
  background-color: #f8f8f8;
  border-left: 4px solid #07c160;
}

.markdown-body.wechat code {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  color: #333;
}

.markdown-body.wechat pre {
  background-color: #f6f8fa;
  padding: 16px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1.2em 0;
}

.markdown-body.wechat pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-body.wechat img {
  max-width: 100%;
  margin: 1.2em auto;
  display: block;
  border-radius: 4px;
}

.markdown-body.wechat hr {
  border: none;
  border-top: 1px solid #eaecef;
  margin: 2em 0;
}

.markdown-body.wechat ul,
.markdown-body.wechat ol {
  margin-bottom: 1.2em;
  padding-left: 2em;
}

.markdown-body.wechat li {
  margin-bottom: 0.5em;
}

.markdown-body.wechat table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0;
  border: 1px solid #eaecef;
}

.markdown-body.wechat table th,
.markdown-body.wechat table td {
  border: 1px solid #eaecef;
  padding: 8px 12px;
  text-align: left;
}

.markdown-body.wechat table th {
  background-color: #f6f8fa;
  font-weight: 600;
}

.markdown-body.wechat table tr:nth-child(even) {
  background-color: #f6f8fa;
}

/* 微信特有的样式 */
.markdown-body.wechat strong {
  color: #07c160;
  font-weight: bold;
}

.markdown-body.wechat em {
  font-style: italic;
  color: #576b95;
} 